package com.masterclient.app.businessmodule.homemodule.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.cart.beans.GatherBean;
import com.masterclient.app.modules.income.model.HomeDataBean;

/**
 * 作者：sean
 * 创建时间：2017/7/18 19:10
 * 功能说明：
 */

public interface HomeContract {

    interface View extends BaseView {
        void showHomeList(HomeDataBean homeDataBean);
        void showHomeListFailed(String msg);
        void subscribeSuccess();
        void subscribeFailed(String msg);
    }

    abstract class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {
        }

        public abstract void getIndexData(int page);
        public abstract void addSubscribe(String eventId);
    }
}